div{
    width:100px;
    height: 100px;
    background-color: aqua;
    -webkit-transition:width 2s,height 2s,-webkit-transform 2s;
    transition:width 2s,height 2s,transform 2s;
}
div:hover{
    width:200px;
    height: 200px;
    transform:rotate(360deg);
    -webkit-transform:rotate(360deg);
}